/*
 *  Copyright 2010 mazhao.
 * 
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 * 
 *       http://www.apache.org/licenses/LICENSE-2.0
 * 
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *  under the License.
 */

package shopping.model;

import java.util.Date;
import shopping.commons.ModelObject;

/**
 *
 * @author mazhao
 */
public class OrderStatusLog extends ModelObject{
    private int id;
    private int orderId;
    private int statusFrom;
    private int statusTo;
    private String who;
    private Date when;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public int getStatusFrom() {
        return statusFrom;
    }

    public void setStatusFrom(int statusFrom) {
        this.statusFrom = statusFrom;
    }

    public int getStatusTo() {
        return statusTo;
    }

    public void setStatusTo(int statusTo) {
        this.statusTo = statusTo;
    }

    public Date getWhen() {
        return when;
    }

    public void setWhen(Date when) {
        this.when = when;
    }

    public String getWho() {
        return who;
    }

    public void setWho(String who) {
        this.who = who;
    }
    

}
